/* 背景 */
body {
    background: url(../img/bg.gif) no-repeat;
    background-size: cover; /*图片自适应*/
}
/* banner */
.banner {
    position: relative;
    width: 960px;
    height: 250px;
    background: url(../img/m_bg.jpg) no-repeat;
    background-size: 960px;
    margin: 80px;
    opacity: 0.8;
    box-shadow: 10px 10px 10px 1px;
}
.banner ul li {
    position: absolute;
    list-style: none;
    display: inline-block;
}
.banner ul li img {
    border-radius: 50%;
    cursor: pointer;
}
.banner ul li:first-child {
    top: 30px;
    left: 90px;
}
.banner ul li:nth-child(2) {
    top: 140px;
    left: 160px;
}
.banner ul li:nth-child(3) {
    top: 67px;
    left: 308px;
}
.banner ul li:nth-child(4) {
    top: 50px;
    left: 500px;
}
.banner ul li:last-child {
    top: 160px;
    left: 580px;
}

/* music */
.music {
    position: fixed;
    left: 0;
    bottom: 50px;
    width: 550px;
    height: 120px;
    background-color: black;
    opacity: .8;
    box-shadow: 10px 10px 10px 1px;

}
.music .m_img {
    float: left;
    margin: 15px 0 0 10px;
}
.music .m_text {
    float: left;
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-top: 50px;
    margin-left: 20px;
}
/* 设置播放部分 */
.music .m_btn  {
    /* 防止歌名过长或过短导致播放器件位置变化 */
    position: absolute;
    left: 320px;
}
.music .m_btn a {
    float: left;
    text-decoration: none;
    color: blueviolet;
    width: 35px;
    height: 35px;
    margin-top: 53px;
    margin-left: 20px;
    text-align: center;
    line-height: 22px;
}
/* .music .m_btn .m_prev {
    content: '|◀'
} */

/* .music .m_btn a:last-child::after {
    content: '▶|'
} */
.music .m_btn a:hover {
    font-size: 22px;
    color: rgb(159, 69, 201);
}
.music .m_close {
    float: right;
    width: 18px;
    height: 100px;
    text-align: center;
    line-height: 90px;
    margin-top: 10px;
    margin-right: 5px;
    padding-top: 8px;
    color: rgb(172, 172, 238);
    background-color: rgb(48, 58, 70);
    box-sizing: border-box;
    font-size: 20px;
    font-weight: 700;
    border-radius: 2px;
    cursor: pointer;
}
.music .m_close:hover {
    color: #fff
}

/* jq操作的样式 */
.m_pause {
    font-size: 20px;
    font-weight: 700;
}

@keyframes img_rotate {
    from {
        transform: rotate(0deg)   /* 记得加上 deg 单位*/
    }
    to {
        transform: rotate(360deg)
    }
}

.banner .img_rotate {
    animation: img_rotate 2s infinite linear;
}